import {
	http
} from '@/service/index.js'
import store from '@/store/index.js'


export const unreadList = async (data, config = {}) => {
	return await http.get(`/personal/center/notify/unreadList`, data, config)
}

export const userMessageListPage = async (data, config = {}) => {
	return await http.get(`/personal/center/notify/userMessageListPage`, data, config)
}

export const notifyListPage = async (data, config = {}) => {
	return await http.get(`/personal/center/notify/notifyListPage`, data, config)
}

export const notifyRead = async (data, config = {}) => {
	return await http.post(`/personal/center/notify/read`, data, config)
}

export const userMessageRead = async (data, config = {}) => {
	return await http.post(`/personal/center/notify/userMessageRead`, data, config)
}
